import 'package:xin_he/generated/json/base/json_convert_content.dart';
import 'package:xin_he/page/mine/xin_he_mine_withdraw/xin_he_mine_withdraw_records/xin_he_withdraw_model_entity.dart';

XinHeWithdrawModelEntity $XinHeWithdrawModelEntityFromJson(Map<String, dynamic> json) {
	final XinHeWithdrawModelEntity xinHeWithdrawModelEntity = XinHeWithdrawModelEntity();
	final String? id = jsonConvert.convert<String>(json['id']);
	if (id != null) {
		xinHeWithdrawModelEntity.id = id;
	}
	final dynamic fUserId = jsonConvert.convert<dynamic>(json['fUserId']);
	if (fUserId != null) {
		xinHeWithdrawModelEntity.fUserId = fUserId;
	}
	final double? money = jsonConvert.convert<double>(json['money']);
	if (money != null) {
		xinHeWithdrawModelEntity.money = money;
	}
	final double? serviceFee = jsonConvert.convert<double>(json['serviceFee']);
	if (serviceFee != null) {
		xinHeWithdrawModelEntity.serviceFee = serviceFee;
	}
	final double? realityAccountFee = jsonConvert.convert<double>(json['realityAccountFee']);
	if (realityAccountFee != null) {
		xinHeWithdrawModelEntity.realityAccountFee = realityAccountFee;
	}
	final String? status = jsonConvert.convert<String>(json['status']);
	if (status != null) {
		xinHeWithdrawModelEntity.status = status;
	}
	final String? type = jsonConvert.convert<String>(json['type']);
	if (type != null) {
		xinHeWithdrawModelEntity.type = type;
	}
	final String? assetType = jsonConvert.convert<String>(json['assetType']);
	if (assetType != null) {
		xinHeWithdrawModelEntity.assetType = assetType;
	}
	final String? mode = jsonConvert.convert<String>(json['mode']);
	if (mode != null) {
		xinHeWithdrawModelEntity.mode = mode;
	}
	final dynamic checkRemark = jsonConvert.convert<dynamic>(json['checkRemark']);
	if (checkRemark != null) {
		xinHeWithdrawModelEntity.checkRemark = checkRemark;
	}
	final dynamic remark = jsonConvert.convert<dynamic>(json['remark']);
	if (remark != null) {
		xinHeWithdrawModelEntity.remark = remark;
	}
	final String? code = jsonConvert.convert<String>(json['code']);
	if (code != null) {
		xinHeWithdrawModelEntity.code = code;
	}
	final String? name = jsonConvert.convert<String>(json['name']);
	if (name != null) {
		xinHeWithdrawModelEntity.name = name;
	}
	final String? mobile = jsonConvert.convert<String>(json['mobile']);
	if (mobile != null) {
		xinHeWithdrawModelEntity.mobile = mobile;
	}
	final dynamic createTime = jsonConvert.convert<dynamic>(json['createTime']);
	if (createTime != null) {
		xinHeWithdrawModelEntity.createTime = createTime;
	}
	final dynamic bankName = jsonConvert.convert<dynamic>(json['bankName']);
	if (bankName != null) {
		xinHeWithdrawModelEntity.bankName = bankName;
	}
	final dynamic bankCode = jsonConvert.convert<dynamic>(json['bankCode']);
	if (bankCode != null) {
		xinHeWithdrawModelEntity.bankCode = bankCode;
	}
	final dynamic bankType = jsonConvert.convert<dynamic>(json['bankType']);
	if (bankType != null) {
		xinHeWithdrawModelEntity.bankType = bankType;
	}
	final dynamic bankUserName = jsonConvert.convert<dynamic>(json['bankUserName']);
	if (bankUserName != null) {
		xinHeWithdrawModelEntity.bankUserName = bankUserName;
	}
	final dynamic isMember = jsonConvert.convert<dynamic>(json['isMember']);
	if (isMember != null) {
		xinHeWithdrawModelEntity.isMember = isMember;
	}
	final dynamic accountTime = jsonConvert.convert<dynamic>(json['accountTime']);
	if (accountTime != null) {
		xinHeWithdrawModelEntity.accountTime = accountTime;
	}
	final dynamic wxPayMoney = jsonConvert.convert<dynamic>(json['wxPayMoney']);
	if (wxPayMoney != null) {
		xinHeWithdrawModelEntity.wxPayMoney = wxPayMoney;
	}
	return xinHeWithdrawModelEntity;
}

Map<String, dynamic> $XinHeWithdrawModelEntityToJson(XinHeWithdrawModelEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['id'] = entity.id;
	data['fUserId'] = entity.fUserId;
	data['money'] = entity.money;
	data['serviceFee'] = entity.serviceFee;
	data['realityAccountFee'] = entity.realityAccountFee;
	data['status'] = entity.status;
	data['type'] = entity.type;
	data['assetType'] = entity.assetType;
	data['mode'] = entity.mode;
	data['checkRemark'] = entity.checkRemark;
	data['remark'] = entity.remark;
	data['code'] = entity.code;
	data['name'] = entity.name;
	data['mobile'] = entity.mobile;
	data['createTime'] = entity.createTime;
	data['bankName'] = entity.bankName;
	data['bankCode'] = entity.bankCode;
	data['bankType'] = entity.bankType;
	data['bankUserName'] = entity.bankUserName;
	data['isMember'] = entity.isMember;
	data['accountTime'] = entity.accountTime;
	data['wxPayMoney'] = entity.wxPayMoney;
	return data;
}